<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>login</title>
<link rel="stylesheet" type="text/css" href="css/login.css" />
<script type="text/javascript" src="js/jquery-3.5.1.js"></script>
<script type="text/javascript" src="js/baseValue.js"></script>
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript">
	$(function() {
		$("#login").click(userlogin);
	})
</script>
</head>
<body background="img/to.jpg">
	<div id="loginDiv">
	<div id="form">
			<h1 style="text-align: center; color: aliceblue;">登录页面</h1>
			<p>
				账号:<input id="username" name="username" type="text">
				<span id="username_span"></span>
			</p>
			<p>
				密码: <input id="password"  name="password" type="password">
				<span id="password_span"></span>
			</p>
			<div style="text-align: center; margin-top: 30px;">
				<input type="button" class="button" value="登录" id="login">
				<a href="http://localhost:8080/commodity/register.jsp">
				<input type="reset" class="button" value="注册"></a>	
			</div>
	</div>
</div>
</body>
</html>